<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
    <link rel="stylesheet" type="text/css" th:href="@{{path}/admin/v3/css/plugins/zTree/metroStyle/metroStyle.css?v={v}(path=${staticPath},v=${v})}"/>
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInLeft">
        <div data-th-replace="common/functionDepict"></div>
        <div class="row">
            <div class="col-sm-9">
                <div class="ibox float-e-margins">
                    <div class="ibox-title clearfix">
                        <h5>
                            项目/专业与科目 <small class="m-l-sm" id="subject-coun">共0个专业/科目</small>
                            <br/><br/>
                            <small class="fs12 c-red">
                                <i class="fa fa-lightbulb-o"></i> <span th:utext="${functionDepict}"></span>
                            </small>
                        </h5>
                        <div class="ibox-tools">
                            <div class="checkbox i-checks">
                                <div class="col-sm-5">
                                    <div style="display: table;" class="input-group input-box opSearchBox">
                                        <input id="search-subject" type="text" class="input-sm form-control vam" placeholder="请输入专业/科目名"/>
                                    </div>
                                </div>
                                <label><input type="checkbox" value="" id="all-subject"/> <i></i> 全选</label>
                                <button type="button" id="add-subject" class="btn btn-xs btn-primary ml5" data-toggle="tooltip" data-placement="bottom" data-original-title="新增项目专业"><i class="fa fa-plus-circle"></i></button>
                                <button type="button" id="disable-subject"  class="btn btn-xs btn-primary ml5" data-toggle="tooltip" data-placement="bottom" data-original-title="批量禁用"><i class="fa fa-unlock-alt"></i></button>
                                <button type="button" id="recovery-subject" class="btn btn-xs btn-primary ml5" data-toggle="tooltip" data-placement="bottom" data-original-title="批量恢复"><i class="fa fa-history"></i></button>
                                <!--专业科目删除会造成关联课程搜索不到,暂时注销,勿删
                                <button type="button" id="delete-subject" class="btn btn-xs btn-primary ml5" data-toggle="tooltip" data-placement="bottom" data-original-title="批量删除"><i class="fa fa-trash"></i></button>-->
                            </div>
                        </div>
                    </div>
                    <div class="ibox-content-tree" style="background-color: #fff;">
                        <div id="subject-jstree" class="ztree">

                        </div>
                    </div>
                </div>
            </div>
            <div data-th-replace="common/importantNotes"></div>
        </div>
    </div>
    <div data-th-replace="layout/head-footer"></div>
    <script type="text/javascript" th:src="@{{path}/admin/libs/plugins/zTree/jquery.ztree.all.js?v={v}(path=${staticPath},v=${v})}"></script>
    <!--数据调用-->
    <script th:src="@{{path}/admin/business/manage/subject/subject-list.js?v={v}(path=${staticPath},v=${v})}"></script>
</body>
</html>
